package com.itfreer.data.metadata.entity;

/**
 * 元数据值
 */
public class MetadataValue {
    /**
     * 值
     */
    private Object value;
    /**
     * 元数据
     */
    private MetadataEntity metadata;
    /**
     * 字典值
     */
    private String dictionaryValue;

    public MetadataValue(Object value, MetadataEntity metadata, String dictionaryValue){
        this.value = value;
        this.metadata = metadata;
        this.dictionaryValue = dictionaryValue;
    }

    public void setDictionaryValue(String dictionaryValue) {
        this.dictionaryValue = dictionaryValue;
    }

    public String getDictionaryValue() {
        return dictionaryValue;
    }

    public void setMetadata(MetadataEntity metadata) {
        this.metadata = metadata;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public MetadataEntity getMetadata() {
        return metadata;
    }
}
